﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace MIMSDomain.Abstract
{
   public interface IRepository<T> where T : class 
   {
        IQueryable<T> All
        {
            get;  
        }
        bool Save(T _T);
        T GetById(int Id);
        IQueryable<T> Search(Expression<Func<T, bool>> predicate);
        bool Delete(T _T);
   }
}
